:root{
    --iconWidth: 5rem;
}
body {
    margin: 0;
}
/* Set the width and height of the scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }
  
  /* Track (the area behind the thumb) */
  ::-webkit-scrollbar-track {
    background-color: rgb(242, 242, 242, 0.3);
  }
  
  /* Handle (the draggable part of the scrollbar) */
  ::-webkit-scrollbar-thumb {
    background-color:darkred;
    border-radius: 6px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-color: red;
    box-shadow: 0 0 10px  rgba(85, 85, 85, 0.8);
  }
.container {
    display: flex;
    align-items:center;
    justify-content:space-between;
    position: relative;
    background: linear-gradient(to bottom, black, rgba(0, 128, 128, 0.5)80%);
}

#bgVid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.navbar {
    transition: background 0.3s ease-in-out;
    font-family: cursive;
    font-size: 1.5rem;
    justify-content: space-evenly;
    position: relative;
    top:-1rem;
}


.nav-item {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out;
    text-shadow: 3px 3px 4px #ffffff;
    padding:10px;

}

.nav-item:hover {
    color: #008080;
}

.activeNav {
    border: 2px white solid;
    border-radius: 30px;
    padding: 20px;
}

.activeNav:hover {
    background-color: #008080;
    color: #6a091c;
}

.header {
    position: relative;
    top:-2rem;
}

.logo {
    width: var(--iconWidth);
    filter: drop-shadow(3px 3px 4px white);
    position: relative;
    top:1rem;
}

.logo-text {
    font-family: cursive;
    font-size: 3rem;
    right: 1rem;
    color: #6a091c;
    text-shadow: 3px 3px 4px white;
}
/* Add or modify styles for new sections */
.hero {
    text-align: center;
    color: white;
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(0, 128, 128, 0.5) 0%, rgba(106, 9, 28, 0.5) 60%);
}

.features {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    background-color: rgba(106, 9, 28, 0.5);
    height: 20rem;
}

.feature-item1,
.feature-item2,
.feature-item3 {
    position: relative;
    text-align: center;
    color: white;
    width: 30%;
    height: 70%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.feature-item1 h3,
.feature-item2 h3,
.feature-item3 h3 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    text-shadow: 5px 5px 3px black;
}
.feature-item3 h3 {
    top:0%;
}
.feature-item1 p,
.feature-item2 p,
.feature-item3 p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    text-shadow: 5px 5px 5px black;
}

/* Background and overlay styles for feature-item1 */
.feature-item1 {
    background-image: url(Feature1.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-item1::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 30px;
}

.feature-item1:hover::before {
    opacity: 0;
}

/* Background and overlay styles for feature-item2 */
.feature-item2 {
    background-image: url(Feature2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-item2::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 30px;
}

.feature-item2:hover::before {
    opacity: 0;
}

/* Background and overlay styles for feature-item3 */
.feature-item3 {
    background-image: url(Feature3.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-item3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 30px;
    backface-visibility: visible;
}

.feature-item3:hover::before {
    opacity: 0;
    
}


.about {
    text-align: center;
    color: white;
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(106, 9, 28, 0.5), rgba(28, 106, 9, 0.5) 60%);

}

.testimonials {
    text-align: center;
    color: white;
    padding: 40px 20px;
    background-color: #333;
}

.testimonial {
    margin-bottom: 20px;
}
.testimonial {
    display: none; /* Initially hide testimonials */
    transition: opacity 0.5s ease-in-out; /* Add animation transition */
}

#toggleButton {
    background: none;
    border: none;
    cursor: pointer;
}

#toggleButton img {
    width: calc(var(--iconWidth) - 2rem);
    filter: invert(1);
}
/* Style the dropdown container */
.myDropdown {
    width: 200px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  /* Style the dropdown options */
  .myDropdown option {
    background-color: #fff;
    color: #333;
  }
  
  /* Add hover effect for the dropdown container */
  .myDropdown:hover {
    border-color: #4CAF50;
  }
  
  /* Add animation on click for the dropdown container */
  .myDropdown:active {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  }
  
  /* Style the button */
  #show-category-btn {
    padding: 10px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  /* Add hover effect for the button */
  #show-category-btn:hover {
    background-color: #45a049;
  }
  
  /* Add click animation for the button */
  #show-category-btn:active {
    transform: translateY(2px);
  }
  
.footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}
.socials1, .socials2, .socials3{
    width: var(--iconWidth);
    filter: drop-shadow(3px 3px 4px black);
}
.socials1:hover, .socials2:hover, .socials3:hover{
    width: calc(var(--iconWidth) + 1rem);
    filter: drop-shadow(3px 3px 4px white);
}
.hero, .features, .about, .testimonial, .footer{
    font-family: cursive;
}
@media only screen and (max-width: 1200px) {
    .features {
        flex-wrap: wrap;
    }

    .feature-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    .hero {
        padding: 60px 20px;
    }

    .about {
        padding: 60px 20px;
    }

    .testimonials {
        padding: 30px 20px;
    }
    .feature-item1 h3,
    .feature-item2 h3,
    .feature-item3 h3 {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.3rem;
    }
    .feature-item3 h3 {
        top:5%;
    }
    .feature-item1 p,
    .feature-item2 p,
    .feature-item3 p {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.8rem;
        
    }
}

@media only screen and (max-width: 800px) {
    .logo {
        width: 3.5rem;
    }

    .logo-text {
        font-size: 2rem;
    }

    .navbar {
        font-size: 0.8rem;
    }

    .features {
        padding: 20px;
    }
    .feature-item1 h3,
    .feature-item2 h3,
    .feature-item3 h3 {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.3rem;
    }
    .feature-item3 h3 {
        top:5%;
    }
    .feature-item1 p,
    .feature-item2 p,
    .feature-item3 p {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.8rem;
        
    }
}

@media only screen and (max-width: 600px) {
    .logo {
        width: 3rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .navbar {
        font-size: 0.5rem;
    }

    .features {
        flex-direction: column;
    }
    .feature-item1 h3,
    .feature-item2 h3,
    .feature-item3 h3 {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1rem;
    }
    .feature-item3 h3 {
        top:5%;
    }
    .feature-item1 p,
    .feature-item2 p,
    .feature-item3 p {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.8rem;
        
    }
}

@media only screen and (max-width: 400px) {
    .logo {
        width: 2.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .navbar {
        font-size: 0.5rem;
    }
    .feature-item1 h3,
    .feature-item2 h3,
    .feature-item3 h3 {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1rem;
    }
    .feature-item3 h3 {
        top:5%;
    }
    .feature-item2 h3 {
        top:2%;
    }
    .feature-item1 p,
    .feature-item2 p,
    .feature-item3 p {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.5rem;
        
    }
}
